  <div class="header">
    <div class="navbar navbar-default" role="navigation">
      <div class="container">
        <div class="navbar-header">

          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#js-navbar-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>

          <a class="navbar-brand" href="#/">CloudData</a>
        </div>
        <div class="collapse navbar-collapse" id="js-navbar-collapse" >

          <ul class="nav navbar-nav">
            <li><a href="#/">Home</a></li>
            <li ng-repeat="menu in menus" ui-sref-active="active"><a ui-sref="app.data({mid:menu.href,vid:''})" >{{menu.name}}</a></li>
            <li class="dropdown" id="settingMenu" ng-show="principal.isAdmin()">
              <a class="dropdown-toggle" data-toggle="dropdown">设置<b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><a ui-sref=".org">机构</a></li>
                <li><a ui-sref=".user">用户</a></li>
                <li><a ui-sref=".role">角色</a></li>
                <li><a ui-sref=".mt">对象</a></li>
                <li><a href="" ng-click="signout()">登出</a></li>
              </ul>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </div>

  <div class="container">
    <div ui-view></div>        
  </div>

  <div class="footer">
    <div class="container">
      <p><span class="glyphicon glyphicon-heart"></span> from the Yeoman team</p>
    </div>
  </div>